*{
    padding: 0;
    margin: 0;
}
body{
    background: #151134 url('../images/bg2.png') no-repeat center bottom;
    background-size: cover;
}

@font-face {
     font-family: 'body';
     src: url('../fonts/方正兰亭黑体.ttf') format('truetype');
     font-weight: normal;
     font-style: normal;
}
@font-face {
    font-family: 'LD';
    src: url('../fonts/LD.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
 @font-face {
     font-family: 'tit';
     src: url('../fonts/方正兰亭准黑简体.ttf') format('truetype');
     font-weight: normal;
     font-style: normal;
 }



#stars{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}
.star {
    display: block;
    width: 1px;
    background: transparent;
    position: absolute;
    z-index: 0;
    opacity: 0;
    animation: star-fall 3s linear infinite;
    -webkit-animation: star-fall 3s linear infinite;
    -moz-animation: star-fall 3s linear infinite;
}
.star:after {
    content: '';
    display: block;
    border: 0px solid #fff;
    border-width: 0px 90px 2px 90px;
    border-color: transparent transparent transparent rgba(255, 255, 255, .5);
    box-shadow: 0 0 1px 0 rgba(255, 255, 255, .1);
    transform: rotate(-45deg) translate3d(1px, 3px, 0);
    -webkit-transform: rotate(-45deg) translate3d(1px, 3px, 0);
    -moz-transform: rotate(-45deg) translate3d(1px, 3px, 0);
    transform-origin: 0% 100%;
    -webkit-transform-origin: 0% 100%;
    -moz-transform-origin: 0% 100%;
}
@keyframes star-fall {
    0% {
        opacity: 0;
        transform: scale(0.5) translate3d(0, 0, 0);
        -webkit-transform: scale(0.5) translate3d(0, 0, 0);
        -moz-transform: scale(0.5) translate3d(0, 0, 0);
    }
    50% {
        opacity: .6;
        transform: translate3d(-200px, 200px, 0);
        -webkit-transform: translate3d(-200px, 200px, 0);
        -moz-transform: translate3d(-200px, 200px, 0);
    }
    100% {
        opacity: 0;
        transform: scale(1.2) translate3d(-300px, 300px, 0);
        -webkit-transform: scale(1.2) translate3d(-300px, 300px, 0);
        -moz-transform: scale(1.2) translate3d(-300px, 300px, 0);
    }
}

.bg{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: #151134 url('../images/bg.png') no-repeat center bottom;
    background-size: cover;

    opacity: 0;
    animation: bg-fall 15s linear infinite;
    -webkit-animation: bg-fall 15s linear infinite;
    -moz-animation: bg-fall 15s linear infinite;
}

@keyframes bg-fall {
    0% {
        opacity: 0;
    }
    50% {
        opacity: .6;
    }
    100% {
        opacity: 0;
    }
}